<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<script src="crypto.min.js"></script>
    <script src="aes.js"></script>
    <script src="jquery-3.0.0.min.js"></script>
    <script>

        //加密方法
    var encrypt = function(word,key,iv){
        let srcs = CryptoJS.enc.Utf8.parse(word);
        let encrypted = CryptoJS.AES.encrypt(srcs, key, {iv:iv, mode:CryptoJS.mode.CBC, padding:CryptoJS.pad.Pkcs7});
        return encrypted.ciphertext.toString().toUpperCase();
    };

    var MIXNICK = '12345';

    var MIXNICK = encrypt(MIXNICK, CryptoJS.enc.Utf8.parse(monKeyKey), CryptoJS.enc.Utf8.parse(monKeyIv));


    </script>
</body>
</html>